package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Car;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface ICarService {
    void saveOrUpdate(Car entity);

    void delete(Long id);

    Car get(Long id);

    List<Car> listAll();

    PageResult query(QueryObject qo);

    Car selectByInsureId(Long insureId);
}
